package com.ftg.learn.fn.controller;

import com.ftg.learn.fn.service.ReadService;
import com.ftg.learn.util.R;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 2234
 */
@RestController
public class ReadController {


    @Resource
    ReadService readService;

    @GetMapping("/read")
    public R<String> readExcel(){
        return readService.readExcel("D:\\learn\\副本测试成绩单副本.xls");
    }

}
